CVE-2025-68120
Unexpected untrusted code execution in github.com/golang/vscode-go
Description
To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.
INFO
Published Date :
Dec. 30, 2025, 12:15 a.m.
Last Modified :
Jan. 6, 2026, 4:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Ensure Restricted Mode is enabled.
- Verify the Go extension is disabled in Restricted Mode.
Public PoC/Exploit Available at Github
CVE-2025-68120 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68120.
| URL | Resource |
|---|---|
| https://groups.google.com/g/golang-dev/c/CHG4qfcicBU/m/4tanFUymDQAJ | Mailing List |
| https://nvd.nist.gov/vuln/detail/CVE-2025-68120 | Third Party Advisory |
| https://pkg.go.dev/vuln/GO-2025-4249 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68120 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68120
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Command Injection vulnerability write-up in VS Code Go extension
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68120 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68120 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 06, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:go:go:*:*:*:*:*:visual_studio_code:*:* versions up to (excluding) 0.52.1 Added Reference Type Go Project: https://groups.google.com/g/golang-dev/c/CHG4qfcicBU/m/4tanFUymDQAJ Types: Mailing List Added Reference Type Go Project: https://nvd.nist.gov/vuln/detail/CVE-2025-68120 Types: Third Party Advisory Added Reference Type Go Project: https://pkg.go.dev/vuln/GO-2025-4249 Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Dec. 30, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L -
New CVE Received by [email protected]
Dec. 30, 2025
Action Type Old Value New Value Added Description To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode. Added Reference https://groups.google.com/g/golang-dev/c/CHG4qfcicBU/m/4tanFUymDQAJ Added Reference https://nvd.nist.gov/vuln/detail/CVE-2025-68120 Added Reference https://pkg.go.dev/vuln/GO-2025-4249